import { useLocation, useParams } from 'react-router-dom';

export const App5 = () => {
  // location
  const location = useLocation();
  console.log('location', location);

  // params
  const params = useParams<{ id?: string }>();
  console.log('params', params.id?.split(''));

  return <div>App5</div>;
};
